R6.5 Lotuscript DialogBox Method Broken?
Posted by ~Laura Zekfreeburynds on 17.Oct.03 at 07:03 PM using a Web browser Category : Applications Development Release: 6.5 Platform: Windows 2000
I get the following error:
"DialogBox cannot be used in this context; a document must be selected."
when I select a document and execute the following code:
Sub Initialize
Dim session As New Notessession
Dim ws As New NotesUIWorkspace
Dim db As Notesdatabase
Dim dummy As NotesDocument
Dim flag As Integer
Set db = session.currentDatabase
Set dummy = db.CreateDocument
flag = ws.Dialogbox("(ArchiveDialog)",True,True, False,True,True,False,"Spec Arch Action",dummy)
End Sub
I get the error when the document is highlighted in a view, explicitly selected in a view or open.
The syntax for the dialogbox method was verified in the help doc.
Did they break the DialogBox method in 6.5?
R6.5 Lotuscript DialogBox Method Br... (~Laura Zekfreeb... 17.Oct.03)
. . RE: R6.5 Lotuscript DialogBox Metho... (~Justin Minlute... 17.Oct.03)
. . . . RE: R6.5 Lotuscript DialogBox Metho... (~Umberto Ciskro... 16.Dec.03)
. . RE: R6.5 Lotuscript DialogBox Metho... (~Lily Eljumiber... 27.Jan.04)